package com.bestcem.xm.user.controller.vo.user.request;

import com.bestcem.xm.common.core.constant.RegTypes;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.Pattern;
import java.util.List;

@Data
public class ActiveEmailManyVO {
    /**
     * 用户id列表
     */
    @Valid
    @JsonProperty("user_ids")
    private List<@Pattern(regexp = RegTypes.OBJECT_ID, message = "用户id格式不正确") String> userIds;

    private String uri;
}
